import {get,post,deletes} from "./request";

//``
//``
const HttpManager = {

    //==============关于用户API
    //注册
    signUp: ({username,password}) =>  post(`user/registryUser`,{username,password}),
    //登录
    signIn:({username,password}) =>post(`user/userlogin`,{username,password}),
    //添加工作内容
    addContent:({userId,content}) => post(`content/add`,{userId,content}),
    //工作完成时间
    updateEndTime:(data) => post(`content/updateEndTime`,data),
    getContent:(params) => get(`content/detail`,{params}),

};

export {HttpManager};
